﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="longRunningTaskManager" type="Sustainalytics.LongRunningTaskManager.LongRunningTaskManagerSettings, Sustainalytics.LongRunningTaskManager" />
    <section name="longRunningTaskManagerHost" type="Sustainalytics.LongRunningTaskManager.Interface.LongRunningTaskManagerHostConfiguration, Sustainalytics.LongRunningTaskManager.Interface" />
  </configSections>
  <!-- LRTM config -->
  <longRunningTaskManager maxOverallManagedTasks="30" maxTasksPerUser="5">
  </longRunningTaskManager>
  <!-- LRTM host config -->
  <longRunningTaskManagerHost diskFileManagerBaseDirectory="TaskResult" taskStatusStartIntervalMs="0" taskStatusUpdateIntervalMs="500" uploadTemporaryDirectory="TaskResult\upload_temp">
  </longRunningTaskManagerHost>

  <system.diagnostics>
    <trace autoflush="true" indentsize="4">
      <listeners>
        <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="application.log" />
        <add name="delimitedListener" type="System.Diagnostics.DelimitedListTraceListener" delimiter="," initializeData="delimitedOutput.csv" traceOutputOptions="ProcessId, DateTime" />
        <remove name="Default" />
      </listeners>
    </trace>
  </system.diagnostics>

  <connectionStrings>
    <add name="MongoDBConnectionString" connectionString="mongodb://localhost:27017" />
    <add name="ClientPlatform" connectionString="mongodb://54.72.160.155:27017/ClientPlatform" />
    <add name="MongoDBClientDWPlatformConnectionString" connectionString="mongodb://localhost:27017/ClientDW" />
    <add name="MongoDBClientUniversesConnectionString" connectionString="mongodb://localhost:27017/ClientUniverses" />
    <add name="ClientDW" connectionString="mongodb://localhost:27017/ClientDW" />
    <add name="MongoDBClientDWPlatformConnectionString" connectionString="mongodb://localhost:27017/ClientDW" />
    <add name="RedisConnectionString" connectionString="localhost" />
  </connectionStrings>
  <appSettings>
    <add key="RedisServer" value="localhost" />
    <add key="httpHostUrl" value="http://+:10280/lrtmserv" />
    <add key="httpsPort" value="443" />
    <add key="screeningToolUrl" value="http://localhost:10280/screeningtoolserv" />
    <add key="screeningToolReportResourceUrl" value="/api/v1/export" />

    <add key="portfolioUrl" value="http://localhost:10280/portfolioserv" />
    <add key="portfolioReportResourceUrl" value="/api/v1/export" />
    <add key="portfolioSecurityUrl" value="/api/v1/exportPortfolioSecurity" />
    <add key="portfolioUploadSecurityUrl" value="/api/v1/uploadPortfolioSecurity" />
    <add key="portfolioMatchDownloadTempFolder" value="C:/Services/Sustainalytics.Portfolios.Service/DownloadPortfolioMatchTemp" />
    <add key="portfolioUploadTempFolder" value="C:/Services/Sustainalytics.Portfolios.Service/UploadTemp" />

    <add key="productInvolvementUrl" value="http://localhost:10280/productinvolvementserv" />
    <add key="productInvolvementReportResourceUrl" value="/api/v1/companyassessments/export" />

    <add key="insightsUrl" value="http://localhost:10280/insightsserv" />
    <add key="insightsResourceUrl" value="/api/v1/files" />

    <add key="ESGRatingDataExport" value="http://localhost:10280/esgratingserv" />
    <add key="ESGRatingDataExportResourceUrl" value="http://localhost:10280/esgcomputingserv/api/v1/esgcompute" />
    <add key="ESGRatingWeightMatrixUploadTempFolder" value="C:/Services/Sustainalytics.ESGRatings.Service/WeightMatrixUploadTemp" />
    <!--<add key="ESGRatingWeightMatrixUploadTempFolder" value="E:/Projects/Client Platform2.0/Main/Client Platform/Sustainalytics.ESGRatings.Service.Tests/bin/Debug" />-->

    <add key="foxit.licensekey" value="FMG10NPDMO8EMN5IhJpfkYlw9S8ie3aDSUZcAYigb0T+caKwz3IgE7jOPTHWQsjGjeKeDpbVECTL2OSG89w9C19/hqkAWIIlJvlA" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>

  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>
</configuration>
